<div class="users form">
    <fieldset>
        <legend><?php __('Login'); ?></legend>
        <?php
        // Pass the model name into the Create function, also pass where the data will be sent
        echo $this->Form->create('User', array('controller' => 'users', 'action' => 'login'));
        echo $this->Form->input('name');
        echo $this->Form->input('password');
        ?>
    </fieldset>
    <?php echo $this->Form->end(__('Login', true)); ?>
</div>